﻿using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;

namespace TimeSpan.CustomControls.Controls;

public class UniversalButton : Button {
    public static readonly DependencyProperty SVG_Drawing_ButtonProperty =
        DependencyProperty.Register("SVG_Drawing_Button", typeof(Drawing), typeof(IconRadioButton), new PropertyMetadata(null));

    public Drawing SVG_Drawing_Button {
        get { return (Drawing)GetValue(SVG_Drawing_ButtonProperty); }
        set { SetValue(SVG_Drawing_ButtonProperty, value); }
    }

    public static readonly DependencyProperty IconSizeProperty =
        DependencyProperty.Register("IconSize", typeof(string), typeof(IconRadioButton), new PropertyMetadata(null));

    public string IconSize {
        get { return (string)GetValue(IconSizeProperty); }
        set { SetValue(IconSizeProperty, value); }
    }

}